package com.uzai.console.service.tb.tborder.impl;

import com.uzai.console.dto.tb.tbcategory.TbCategoryQuery;
import com.uzai.console.mapper.TbCategoryMapper;
import com.uzai.console.service.tb.tborder.TbCategoryService;
import com.uzai.console.vo.tb.tborder.TbCategoryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: jianghan
 * @Date: 2020/12/16 16:01
 * @Description:
 */
@Service
public class TbCategoryServiceImpl implements TbCategoryService {

    @Autowired
    private TbCategoryMapper tbCategoryMapper;

    @Override
    public List<TbCategoryVo> findTbCategoryList(TbCategoryQuery tbCategoryQuery) {
       return tbCategoryMapper.findByList(tbCategoryQuery);
    }
}
